package com.ccys.db.vo.doctor.consultStage;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/2/26 0026
 */
@Data
public class GetPHQ4QuestionVo {

    private String id;   //": 1,

    private String title;   //": "How have you been feeling the past 2 weeks?",

    @JsonProperty("is_request_phq4")
    private boolean isRequestPhq4 = true;   //": true,

    @JsonProperty("is_onboarding")
    private boolean isOnboarding = true;   //": true,

    private List<QuestionVo> questions;


    @Data
    public static class QuestionVo {

        private String id;

        private String name;

        List<ResponseVo> responses;
    }


    @Data
    public static class ResponseVo {
        private String id;

        private String name;
    }
}
